package nsu.edu.zsq.dao;

import java.util.List;
import nsu.edu.zsq.bean.SysUser;
import nsu.edu.zsq.bean.SysUserExample;
import org.apache.ibatis.annotations.Param;

public interface SysUserMapper {
    /**
     *
     */
    long countByExample(SysUserExample example);

    /**
     *
     */
    int deleteByExample(SysUserExample example);

    /**
     *
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     */
    int insert(SysUser record);

    /**
     *
     */
    int insertSelective(SysUser record);

    /**
     *
     */
    List<SysUser> selectByExample(SysUserExample example);

    /**
     *
     */
    SysUser selectByPrimaryKey(Integer id);

    /**
     *
     */
    int updateByExampleSelective(@Param("record") SysUser record, @Param("example") SysUserExample example);

    /**
     *
     */
    int updateByExample(@Param("record") SysUser record, @Param("example") SysUserExample example);

    /**
     *
     */
    int updateByPrimaryKeySelective(SysUser record);

    /**
     *
     */
    int updateByPrimaryKey(SysUser record);
    
    SysUser getByAccount(@Param("account") String account);
}